package it.davial.mgwt.client;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="MANAGERID")
public class ManagerId implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4306177341093812190L;
	
	@Id
	@Column(name="ID")
	private int id;
	@Column(name="ID_PATIENT")
	private int idPatient;
	@Column(name="ID_PHOTO")
	private int idPhoto;
	@Column(name="ID_VISIT")
	private int idVisit;
	@Column(name="ID_AREA")
	private int idArea;
	@Column(name="ID_FIGURE")
	private int idFigure;
	
	public int getIdPatient() {
		return idPatient;
	}
	public void setIdPatient(int idPatient) {
		this.idPatient = idPatient;
	}
	public int getIdPhoto() {
		return idPhoto;
	}
	public void setIdPhoto(int idPhoto) {
		this.idPhoto = idPhoto;
	}
	
	public int getIdVisit() {
		return idVisit;
	}
	public void setIdVisit(int idVisit) {
		this.idVisit = idVisit;
	}
	public int getIdArea() {
		return idArea;
	}
	public void setIdArea(int idArea) {
		this.idArea = idArea;
	}
	public int getIdFigure() {
		return idFigure;
	}
	public void setIdFigure(int idFigure) {
		this.idFigure = idFigure;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "ManagerId [idPatient=" + idPatient + ", idPhoto=" + idPhoto
				+  ", idVisit=" + idVisit
				+ ", idArea=" + idArea + ", idFigure=" + idFigure + "]";
	}
}
